@anzusystems/common-admin 0.0.38 → 0.0.40
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/common-admin.es.d.ts +49 -6
- package/dist/common-admin.es.js +2277 -2256
- package/dist/common-admin.es.js.map +1 -1
- package/package.json +1 -1
|
@@ -1387,7 +1387,7 @@ export declare const AFilterRemoteAutocomplete: DefineComponent<{
|
|
|
1387
1387
|
required: true;
|
|
1388
1388
|
};
|
|
1389
1389
|
fetchItemsByIds: {
|
|
1390
|
-
type: PropType<
|
|
1390
|
+
type: PropType<fetchItemsByIdsType_2>;
|
|
1391
1391
|
required: true;
|
|
1392
1392
|
};
|
|
1393
1393
|
innerFilter: {
|
|
@@ -1399,6 +1399,16 @@ export declare const AFilterRemoteAutocomplete: DefineComponent<{
|
|
|
1399
1399
|
required: false;
|
|
1400
1400
|
default: string;
|
|
1401
1401
|
};
|
|
1402
|
+
disableInitFetch: {
|
|
1403
|
+
type: PropType<boolean | undefined>;
|
|
1404
|
+
required: false;
|
|
1405
|
+
default: boolean;
|
|
1406
|
+
};
|
|
1407
|
+
placeholder: {
|
|
1408
|
+
type: PropType<string | undefined>;
|
|
1409
|
+
required: false;
|
|
1410
|
+
default: undefined;
|
|
1411
|
+
};
|
|
1402
1412
|
}, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
1403
1413
|
modelValue: {
|
|
1404
1414
|
type: PropType<Filter<any>>;
|
|
@@ -1409,7 +1419,7 @@ export declare const AFilterRemoteAutocomplete: DefineComponent<{
|
|
|
1409
1419
|
required: true;
|
|
1410
1420
|
};
|
|
1411
1421
|
fetchItemsByIds: {
|
|
1412
|
-
type: PropType<
|
|
1422
|
+
type: PropType<fetchItemsByIdsType_2>;
|
|
1413
1423
|
required: true;
|
|
1414
1424
|
};
|
|
1415
1425
|
innerFilter: {
|
|
@@ -1421,10 +1431,22 @@ export declare const AFilterRemoteAutocomplete: DefineComponent<{
|
|
|
1421
1431
|
required: false;
|
|
1422
1432
|
default: string;
|
|
1423
1433
|
};
|
|
1434
|
+
disableInitFetch: {
|
|
1435
|
+
type: PropType<boolean | undefined>;
|
|
1436
|
+
required: false;
|
|
1437
|
+
default: boolean;
|
|
1438
|
+
};
|
|
1439
|
+
placeholder: {
|
|
1440
|
+
type: PropType<string | undefined>;
|
|
1441
|
+
required: false;
|
|
1442
|
+
default: undefined;
|
|
1443
|
+
};
|
|
1424
1444
|
}>> & {
|
|
1425
1445
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
1426
1446
|
}, {
|
|
1427
1447
|
filterByField: string | undefined;
|
|
1448
|
+
disableInitFetch: boolean | undefined;
|
|
1449
|
+
placeholder: string | undefined;
|
|
1428
1450
|
}>;
|
|
1429
1451
|
|
|
1430
1452
|
export declare const AFilterResetButton: DefineComponent<{
|
|
@@ -1472,6 +1494,11 @@ export declare const AFilterString: DefineComponent<{
|
|
|
1472
1494
|
type: PropType<Filter<any>>;
|
|
1473
1495
|
required: true;
|
|
1474
1496
|
};
|
|
1497
|
+
placeholder: {
|
|
1498
|
+
type: PropType<string | undefined>;
|
|
1499
|
+
required: false;
|
|
1500
|
+
default: undefined;
|
|
1501
|
+
};
|
|
1475
1502
|
dataCy: {
|
|
1476
1503
|
type: PropType<string | undefined>;
|
|
1477
1504
|
required: false;
|
|
@@ -1482,6 +1509,11 @@ export declare const AFilterString: DefineComponent<{
|
|
|
1482
1509
|
type: PropType<Filter<any>>;
|
|
1483
1510
|
required: true;
|
|
1484
1511
|
};
|
|
1512
|
+
placeholder: {
|
|
1513
|
+
type: PropType<string | undefined>;
|
|
1514
|
+
required: false;
|
|
1515
|
+
default: undefined;
|
|
1516
|
+
};
|
|
1485
1517
|
dataCy: {
|
|
1486
1518
|
type: PropType<string | undefined>;
|
|
1487
1519
|
required: false;
|
|
@@ -1491,6 +1523,7 @@ export declare const AFilterString: DefineComponent<{
|
|
|
1491
1523
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
1492
1524
|
}, {
|
|
1493
1525
|
dataCy: string | undefined;
|
|
1526
|
+
placeholder: string | undefined;
|
|
1494
1527
|
}>;
|
|
1495
1528
|
|
|
1496
1529
|
export declare const AFilterSubmitButton: DefineComponent<{
|
|
@@ -3469,10 +3502,10 @@ export declare type EnableDisable = 'enable' | 'disable';
|
|
|
3469
3502
|
|
|
3470
3503
|
export declare const eventClickBlur: (event?: Event) => void;
|
|
3471
3504
|
|
|
3472
|
-
declare type FetchItemsByIdsType = ((ids: number[]) => Promise<ValueObjectOption<number>[]>) | ((ids: string[]) => Promise<ValueObjectOption<string>[]>);
|
|
3473
|
-
|
|
3474
3505
|
declare type fetchItemsByIdsType = ((ids: IntegerId[]) => Promise<ValueObjectOption<IntegerId>[]>) | ((ids: DocId[]) => Promise<ValueObjectOption<DocId>[]>);
|
|
3475
3506
|
|
|
3507
|
+
declare type fetchItemsByIdsType_2 = ((ids: IntegerId[]) => Promise<ValueObjectOption<IntegerId>[]>) | ((ids: DocId[]) => Promise<ValueObjectOption<DocId>[]>);
|
|
3508
|
+
|
|
3476
3509
|
declare type FetchItemsMinimalType = (pagination: Pagination, filterBag: FilterBag) => Promise<any[]>;
|
|
3477
3510
|
|
|
3478
3511
|
export declare interface Filter<T = any> {
|
|
@@ -3491,7 +3524,7 @@ export declare interface FilterBag {
|
|
|
3491
3524
|
[key: string]: Filter;
|
|
3492
3525
|
}
|
|
3493
3526
|
|
|
3494
|
-
export declare type FilterVariant = 'lt' | 'in' | 'notIn' | 'endsWith' | 'startsWith' | 'memberOf' | 'contains' | 'neq' | 'gte' | 'gt' | 'eq' | 'lte';
|
|
3527
|
+
export declare type FilterVariant = 'search' | 'lt' | 'in' | 'notIn' | 'endsWith' | 'startsWith' | 'memberOf' | 'contains' | 'neq' | 'gte' | 'gt' | 'eq' | 'lte';
|
|
3495
3528
|
|
|
3496
3529
|
export declare enum Grant {
|
|
3497
3530
|
Deny = 0,
|
|
@@ -3710,6 +3743,11 @@ export declare const messagesEn: {
|
|
|
3710
3743
|
created: string;
|
|
3711
3744
|
modified: string;
|
|
3712
3745
|
};
|
|
3746
|
+
filterPlaceholder: {
|
|
3747
|
+
eq: string;
|
|
3748
|
+
contains: string;
|
|
3749
|
+
startsWith: string;
|
|
3750
|
+
};
|
|
3713
3751
|
};
|
|
3714
3752
|
system: {
|
|
3715
3753
|
version: string;
|
|
@@ -4071,6 +4109,11 @@ export declare const messagesSk: {
|
|
|
4071
4109
|
created: string;
|
|
4072
4110
|
modified: string;
|
|
4073
4111
|
};
|
|
4112
|
+
filterPlaceholder: {
|
|
4113
|
+
eq: string;
|
|
4114
|
+
contains: string;
|
|
4115
|
+
startsWith: string;
|
|
4116
|
+
};
|
|
4074
4117
|
};
|
|
4075
4118
|
system: {
|
|
4076
4119
|
version: string;
|
|
@@ -4566,7 +4609,7 @@ export declare function useAlerts(): {
|
|
|
4566
4609
|
showApiForbiddenOperationError: (detail: string, duration?: number) => void;
|
|
4567
4610
|
showUnknownError: (duration?: number) => void;
|
|
4568
4611
|
showForbiddenError: (duration?: number) => void;
|
|
4569
|
-
showErrorsDefault: (error: any) =>
|
|
4612
|
+
showErrorsDefault: (error: any) => boolean;
|
|
4570
4613
|
};
|
|
4571
4614
|
|
|
4572
4615
|
export declare function useAnzuUserFactory(system?: string, resourceName?: string): {
|