@anzusystems/common-admin 0.0.59 → 0.0.60
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 +22 -2
- package/dist/common-admin.es.js +753 -738
- package/dist/common-admin.es.js.map +1 -1
- package/package.json +5 -4
|
@@ -15,6 +15,7 @@ import type { InjectionKey } from 'vue';
|
|
|
15
15
|
import type { Method } from 'axios';
|
|
16
16
|
import type { PropType } from 'vue';
|
|
17
17
|
import type { Ref } from 'vue';
|
|
18
|
+
import type { RouteLocationNormalized } from 'vue-router';
|
|
18
19
|
import type { RouteLocationRaw } from 'vue-router';
|
|
19
20
|
import type { Router } from 'vue-router';
|
|
20
21
|
import type { UnwrapRef } from 'vue';
|
|
@@ -3143,6 +3144,8 @@ export declare const arrayFromArgs: <T>(args_0: T[]) => T[];
|
|
|
3143
3144
|
|
|
3144
3145
|
export declare const arrayItemToggle: <T>(array: T[], value: T) => void;
|
|
3145
3146
|
|
|
3147
|
+
export declare const arraysHaveSameElements: <T>(array1: T[], array2: T[]) => boolean;
|
|
3148
|
+
|
|
3146
3149
|
export declare const arrayToString: (values: Array<string | number>, separator?: string) => string;
|
|
3147
3150
|
|
|
3148
3151
|
export declare const ASystemBar: DefineComponent<{
|
|
@@ -3613,10 +3616,14 @@ export declare type DatatableSortBy = {
|
|
|
3613
3616
|
order: 'asc' | 'desc';
|
|
3614
3617
|
} | null | undefined;
|
|
3615
3618
|
|
|
3619
|
+
export declare const dateDiff: (isoDate1: Date, isoDate2: Date) => number;
|
|
3620
|
+
|
|
3616
3621
|
export declare const dateModifyMinutes: (minutes?: number, date?: null | Date) => Date | undefined;
|
|
3617
3622
|
|
|
3618
3623
|
export declare const dateNow: () => Date;
|
|
3619
3624
|
|
|
3625
|
+
export declare const datePretty: (isoDate: DatetimeUTC | DatetimeUTCNullable | string | null, edgeDateValue?: string) => string;
|
|
3626
|
+
|
|
3620
3627
|
export declare const DATETIME_MAX = "2100-01-01T00:00:00.000000Z";
|
|
3621
3628
|
|
|
3622
3629
|
export declare const DATETIME_MIN = "1970-01-01T00:00:00.000000Z";
|
|
@@ -3688,6 +3695,8 @@ export declare interface FilterBag {
|
|
|
3688
3695
|
|
|
3689
3696
|
export declare type FilterVariant = 'search' | 'lt' | 'in' | 'notIn' | 'endsWith' | 'startsWith' | 'memberOf' | 'contains' | 'neq' | 'gte' | 'gt' | 'eq' | 'lte';
|
|
3690
3697
|
|
|
3698
|
+
export declare const generateUUIDv1: () => any;
|
|
3699
|
+
|
|
3691
3700
|
export declare enum Grant {
|
|
3692
3701
|
Deny = 0,
|
|
3693
3702
|
AllowOwner = 1,
|
|
@@ -4716,7 +4725,7 @@ export declare const prettyBytes: (bytes: number, decimals?: number) => string;
|
|
|
4716
4725
|
|
|
4717
4726
|
declare type Prev = [never, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, ...0[]];
|
|
4718
4727
|
|
|
4719
|
-
declare type RecordWasType = 'created' | 'deleted' | 'updated' | 'published' | 'unpublished' | 'enabled' | 'disabled';
|
|
4728
|
+
export declare type RecordWasType = 'created' | 'deleted' | 'updated' | 'published' | 'unpublished' | 'enabled' | 'disabled';
|
|
4720
4729
|
|
|
4721
4730
|
export declare interface ResourceNameSystemAware {
|
|
4722
4731
|
_resourceName: string;
|
|
@@ -4776,9 +4785,11 @@ declare enum ThemeSettings {
|
|
|
4776
4785
|
Auto = "auto"
|
|
4777
4786
|
}
|
|
4778
4787
|
|
|
4788
|
+
export declare const timePretty: (isoDate: DatetimeUTC | DatetimeUTCNullable | string | null, edgeDateValue?: string) => string;
|
|
4789
|
+
|
|
4779
4790
|
export declare const timestampCurrent: () => number;
|
|
4780
4791
|
|
|
4781
|
-
declare type UrlParams = {
|
|
4792
|
+
export declare type UrlParams = {
|
|
4782
4793
|
[key: string]: number | string;
|
|
4783
4794
|
};
|
|
4784
4795
|
|
|
@@ -5014,6 +5025,15 @@ export declare function useLanguageSettings(): {
|
|
|
5014
5025
|
currentLanguageCode: Readonly<Ref<LanguageCode | "default">>;
|
|
5015
5026
|
};
|
|
5016
5027
|
|
|
5028
|
+
export declare function useLoginStatus(to: RouteLocationNormalized): {
|
|
5029
|
+
status: Readonly<Ref<string | null>>;
|
|
5030
|
+
isStatusNotDefined: () => boolean;
|
|
5031
|
+
isStatusLoginSuccess: () => boolean;
|
|
5032
|
+
isStatusSsoCommunicationFailure: () => boolean;
|
|
5033
|
+
isStatusInternalErrorFailure: () => boolean;
|
|
5034
|
+
isStatusUnauthorized: () => boolean;
|
|
5035
|
+
};
|
|
5036
|
+
|
|
5017
5037
|
export declare function useLogLevel(): {
|
|
5018
5038
|
logLevelOptions: Ref<{
|
|
5019
5039
|
value: LogLevel;
|