@anzusystems/common-admin 1.29.0 → 1.31.0
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 +219 -24
- package/dist/common-admin.es.js +155 -153
- package/dist/{lib-92996438.js → lib-203389c0.js} +3856 -3531
- package/dist/lib-203389c0.js.map +1 -0
- package/dist/{shortcut-buttons-flatpickr-7b30054f.js → shortcut-buttons-flatpickr-2cb2d5d1.js} +2 -2
- package/dist/{shortcut-buttons-flatpickr-7b30054f.js.map → shortcut-buttons-flatpickr-2cb2d5d1.js.map} +1 -1
- package/dist/style.css +1 -1
- package/dist/{webfontloader-94c583ed.js → webfontloader-89e7e636.js} +2 -2
- package/dist/{webfontloader-94c583ed.js.map → webfontloader-89e7e636.js.map} +1 -1
- package/package.json +11 -11
- package/dist/lib-92996438.js.map +0 -1
|
@@ -10,6 +10,7 @@ import dayjs from 'dayjs';
|
|
|
10
10
|
import type { DeepReadonly } from 'vue';
|
|
11
11
|
import { DefineComponent } from 'vue';
|
|
12
12
|
import { ExtractPropTypes } from 'vue';
|
|
13
|
+
import type { Fn } from '@vueuse/core';
|
|
13
14
|
import { I18n } from './vue-i18n/dist/vue-i18n.esm-bundler.js';
|
|
14
15
|
import type { InjectionKey } from 'vue';
|
|
15
16
|
import { IntlDateTimeFormat } from './vue-i18n/dist/vue-i18n.esm-bundler.js';
|
|
@@ -20,6 +21,8 @@ import { Promisify } from '@vueuse/shared';
|
|
|
20
21
|
import { PropType } from 'vue';
|
|
21
22
|
import type { QUnitType } from 'dayjs';
|
|
22
23
|
import { Ref } from 'vue';
|
|
24
|
+
import { RendererElement } from 'vue';
|
|
25
|
+
import { RendererNode } from 'vue';
|
|
23
26
|
import type { RouteLocationNormalized } from 'vue-router';
|
|
24
27
|
import type { RouteLocationRaw } from 'vue-router';
|
|
25
28
|
import type { Router } from 'vue-router';
|
|
@@ -27,6 +30,7 @@ import { UnwrapRef } from 'vue';
|
|
|
27
30
|
import { useI18n } from './vue-i18n/dist/vue-i18n.esm-bundler.js';
|
|
28
31
|
import { ValidationRuleWithoutParams } from '@vuelidate/core';
|
|
29
32
|
import { ValidationRuleWithParams } from '@vuelidate/core';
|
|
33
|
+
import { VNode } from 'vue';
|
|
30
34
|
import { VNodeProps } from 'vue';
|
|
31
35
|
|
|
32
36
|
declare type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -689,10 +693,6 @@ export declare const AAssetSelect: __VLS_WithTemplateSlots_14<DefineComponent<{
|
|
|
689
693
|
type: PropType<boolean>;
|
|
690
694
|
default: undefined;
|
|
691
695
|
};
|
|
692
|
-
assetType: {
|
|
693
|
-
type: PropType<"image" | "audio" | "video" | "document" | DamAssetType>;
|
|
694
|
-
required: true;
|
|
695
|
-
};
|
|
696
696
|
minCount: {
|
|
697
697
|
type: PropType<number>;
|
|
698
698
|
required: true;
|
|
@@ -701,6 +701,10 @@ export declare const AAssetSelect: __VLS_WithTemplateSlots_14<DefineComponent<{
|
|
|
701
701
|
type: PropType<number>;
|
|
702
702
|
required: true;
|
|
703
703
|
};
|
|
704
|
+
assetType: {
|
|
705
|
+
type: PropType<"image" | "audio" | "video" | "document" | DamAssetType>;
|
|
706
|
+
required: true;
|
|
707
|
+
};
|
|
704
708
|
assetLicenceId: {
|
|
705
709
|
type: PropType<number>;
|
|
706
710
|
default: undefined;
|
|
@@ -719,10 +723,6 @@ export declare const AAssetSelect: __VLS_WithTemplateSlots_14<DefineComponent<{
|
|
|
719
723
|
type: PropType<boolean>;
|
|
720
724
|
default: undefined;
|
|
721
725
|
};
|
|
722
|
-
assetType: {
|
|
723
|
-
type: PropType<"image" | "audio" | "video" | "document" | DamAssetType>;
|
|
724
|
-
required: true;
|
|
725
|
-
};
|
|
726
726
|
minCount: {
|
|
727
727
|
type: PropType<number>;
|
|
728
728
|
required: true;
|
|
@@ -731,6 +731,10 @@ export declare const AAssetSelect: __VLS_WithTemplateSlots_14<DefineComponent<{
|
|
|
731
731
|
type: PropType<number>;
|
|
732
732
|
required: true;
|
|
733
733
|
};
|
|
734
|
+
assetType: {
|
|
735
|
+
type: PropType<"image" | "audio" | "video" | "document" | DamAssetType>;
|
|
736
|
+
required: true;
|
|
737
|
+
};
|
|
734
738
|
assetLicenceId: {
|
|
735
739
|
type: PropType<number>;
|
|
736
740
|
default: undefined;
|
|
@@ -3682,6 +3686,140 @@ declare enum AssetSelectReturnType {
|
|
|
3682
3686
|
Asset = "asset"
|
|
3683
3687
|
}
|
|
3684
3688
|
|
|
3689
|
+
export declare const ASubjectSelect: <TItem>(__VLS_props: {
|
|
3690
|
+
selectedItems: TItem[];
|
|
3691
|
+
pagination: Pagination;
|
|
3692
|
+
submitFilter: Fn;
|
|
3693
|
+
resetFilter: Fn;
|
|
3694
|
+
loading?: boolean | undefined;
|
|
3695
|
+
minCount?: number | undefined;
|
|
3696
|
+
maxCount?: number | undefined;
|
|
3697
|
+
modelValue?: boolean | undefined;
|
|
3698
|
+
dialogTitleT?: string | undefined;
|
|
3699
|
+
paginationMode?: "more" | "standard" | undefined;
|
|
3700
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, __VLS_ctx?: Pick<{
|
|
3701
|
+
props: {
|
|
3702
|
+
selectedItems: TItem[];
|
|
3703
|
+
pagination: Pagination;
|
|
3704
|
+
submitFilter: Fn;
|
|
3705
|
+
resetFilter: Fn;
|
|
3706
|
+
loading?: boolean | undefined;
|
|
3707
|
+
minCount?: number | undefined;
|
|
3708
|
+
maxCount?: number | undefined;
|
|
3709
|
+
modelValue?: boolean | undefined;
|
|
3710
|
+
dialogTitleT?: string | undefined;
|
|
3711
|
+
paginationMode?: "more" | "standard" | undefined;
|
|
3712
|
+
};
|
|
3713
|
+
expose(exposed: {
|
|
3714
|
+
open: () => void;
|
|
3715
|
+
}): void;
|
|
3716
|
+
attrs: any;
|
|
3717
|
+
slots: {
|
|
3718
|
+
activator?(_: {
|
|
3719
|
+
props: {
|
|
3720
|
+
onClick: (event: Event, ...args: unknown[]) => any;
|
|
3721
|
+
};
|
|
3722
|
+
}): any;
|
|
3723
|
+
title?(_: {}): any;
|
|
3724
|
+
"second-bar"?(_: {}): any;
|
|
3725
|
+
"second-bar-left"?(_: {}): any;
|
|
3726
|
+
"second-bar-right"?(_: {}): any;
|
|
3727
|
+
filter?(_: {}): any;
|
|
3728
|
+
content?(_: {}): any;
|
|
3729
|
+
"button-confirm-title"?(_: {}): any;
|
|
3730
|
+
};
|
|
3731
|
+
emit: {
|
|
3732
|
+
(e: 'update:modelValue', data: boolean): void;
|
|
3733
|
+
(e: 'update:pagination', data: Pagination): void;
|
|
3734
|
+
(e: 'onOpen'): void;
|
|
3735
|
+
(e: 'onPageChange'): void;
|
|
3736
|
+
(e: 'onConfirm', data: TItem[]): void;
|
|
3737
|
+
(e: 'onFetchNextPage'): void;
|
|
3738
|
+
};
|
|
3739
|
+
}, "attrs" | "slots" | "emit"> | undefined, __VLS_setup?: Promise<{
|
|
3740
|
+
props: {
|
|
3741
|
+
selectedItems: TItem[];
|
|
3742
|
+
pagination: Pagination;
|
|
3743
|
+
submitFilter: Fn;
|
|
3744
|
+
resetFilter: Fn;
|
|
3745
|
+
loading?: boolean | undefined;
|
|
3746
|
+
minCount?: number | undefined;
|
|
3747
|
+
maxCount?: number | undefined;
|
|
3748
|
+
modelValue?: boolean | undefined;
|
|
3749
|
+
dialogTitleT?: string | undefined;
|
|
3750
|
+
paginationMode?: "more" | "standard" | undefined;
|
|
3751
|
+
};
|
|
3752
|
+
expose(exposed: {
|
|
3753
|
+
open: () => void;
|
|
3754
|
+
}): void;
|
|
3755
|
+
attrs: any;
|
|
3756
|
+
slots: {
|
|
3757
|
+
activator?(_: {
|
|
3758
|
+
props: {
|
|
3759
|
+
onClick: (event: Event, ...args: unknown[]) => any;
|
|
3760
|
+
};
|
|
3761
|
+
}): any;
|
|
3762
|
+
title?(_: {}): any;
|
|
3763
|
+
"second-bar"?(_: {}): any;
|
|
3764
|
+
"second-bar-left"?(_: {}): any;
|
|
3765
|
+
"second-bar-right"?(_: {}): any;
|
|
3766
|
+
filter?(_: {}): any;
|
|
3767
|
+
content?(_: {}): any;
|
|
3768
|
+
"button-confirm-title"?(_: {}): any;
|
|
3769
|
+
};
|
|
3770
|
+
emit: {
|
|
3771
|
+
(e: 'update:modelValue', data: boolean): void;
|
|
3772
|
+
(e: 'update:pagination', data: Pagination): void;
|
|
3773
|
+
(e: 'onOpen'): void;
|
|
3774
|
+
(e: 'onPageChange'): void;
|
|
3775
|
+
(e: 'onConfirm', data: TItem[]): void;
|
|
3776
|
+
(e: 'onFetchNextPage'): void;
|
|
3777
|
+
};
|
|
3778
|
+
}>) => VNode<RendererNode, RendererElement, {
|
|
3779
|
+
[key: string]: any;
|
|
3780
|
+
}> & {
|
|
3781
|
+
__ctx?: {
|
|
3782
|
+
props: {
|
|
3783
|
+
selectedItems: TItem[];
|
|
3784
|
+
pagination: Pagination;
|
|
3785
|
+
submitFilter: Fn;
|
|
3786
|
+
resetFilter: Fn;
|
|
3787
|
+
loading?: boolean | undefined;
|
|
3788
|
+
minCount?: number | undefined;
|
|
3789
|
+
maxCount?: number | undefined;
|
|
3790
|
+
modelValue?: boolean | undefined;
|
|
3791
|
+
dialogTitleT?: string | undefined;
|
|
3792
|
+
paginationMode?: "more" | "standard" | undefined;
|
|
3793
|
+
};
|
|
3794
|
+
expose(exposed: {
|
|
3795
|
+
open: () => void;
|
|
3796
|
+
}): void;
|
|
3797
|
+
attrs: any;
|
|
3798
|
+
slots: {
|
|
3799
|
+
activator?(_: {
|
|
3800
|
+
props: {
|
|
3801
|
+
onClick: (event: Event, ...args: unknown[]) => any;
|
|
3802
|
+
};
|
|
3803
|
+
}): any;
|
|
3804
|
+
title?(_: {}): any;
|
|
3805
|
+
"second-bar"?(_: {}): any;
|
|
3806
|
+
"second-bar-left"?(_: {}): any;
|
|
3807
|
+
"second-bar-right"?(_: {}): any;
|
|
3808
|
+
filter?(_: {}): any;
|
|
3809
|
+
content?(_: {}): any;
|
|
3810
|
+
"button-confirm-title"?(_: {}): any;
|
|
3811
|
+
};
|
|
3812
|
+
emit: {
|
|
3813
|
+
(e: 'update:modelValue', data: boolean): void;
|
|
3814
|
+
(e: 'update:pagination', data: Pagination): void;
|
|
3815
|
+
(e: 'onOpen'): void;
|
|
3816
|
+
(e: 'onPageChange'): void;
|
|
3817
|
+
(e: 'onConfirm', data: TItem[]): void;
|
|
3818
|
+
(e: 'onFetchNextPage'): void;
|
|
3819
|
+
};
|
|
3820
|
+
} | undefined;
|
|
3821
|
+
};
|
|
3822
|
+
|
|
3685
3823
|
export declare const ASystemBar: DefineComponent<{
|
|
3686
3824
|
currentVersion: {
|
|
3687
3825
|
type: PropType<string>;
|
|
@@ -4327,6 +4465,7 @@ export declare const i18n: I18n<{
|
|
|
4327
4465
|
refresh: string;
|
|
4328
4466
|
forwards: string;
|
|
4329
4467
|
backwards: string;
|
|
4468
|
+
loadMore: string;
|
|
4330
4469
|
};
|
|
4331
4470
|
model: {
|
|
4332
4471
|
system: string;
|
|
@@ -4570,10 +4709,6 @@ export declare const i18n: I18n<{
|
|
|
4570
4709
|
filter: {
|
|
4571
4710
|
toggle: string;
|
|
4572
4711
|
};
|
|
4573
|
-
controls: {
|
|
4574
|
-
loadMore: string;
|
|
4575
|
-
confirm: string;
|
|
4576
|
-
};
|
|
4577
4712
|
texts: {
|
|
4578
4713
|
title: string;
|
|
4579
4714
|
noItemsFound: string;
|
|
@@ -4588,6 +4723,16 @@ export declare const i18n: I18n<{
|
|
|
4588
4723
|
generatedBySystem: string;
|
|
4589
4724
|
};
|
|
4590
4725
|
};
|
|
4726
|
+
subjectSelect: {
|
|
4727
|
+
filter: {
|
|
4728
|
+
toggle: string;
|
|
4729
|
+
};
|
|
4730
|
+
texts: {
|
|
4731
|
+
title: string;
|
|
4732
|
+
pickExactCount: string;
|
|
4733
|
+
pickRangeCount: string;
|
|
4734
|
+
};
|
|
4735
|
+
};
|
|
4591
4736
|
time: {
|
|
4592
4737
|
long: {
|
|
4593
4738
|
remainingSeconds: string;
|
|
@@ -4984,6 +5129,7 @@ export declare const messagesCs: {
|
|
|
4984
5129
|
refresh: string;
|
|
4985
5130
|
forwards: string;
|
|
4986
5131
|
backwards: string;
|
|
5132
|
+
loadMore: string;
|
|
4987
5133
|
};
|
|
4988
5134
|
model: {
|
|
4989
5135
|
system: string;
|
|
@@ -5227,10 +5373,6 @@ export declare const messagesCs: {
|
|
|
5227
5373
|
filter: {
|
|
5228
5374
|
toggle: string;
|
|
5229
5375
|
};
|
|
5230
|
-
controls: {
|
|
5231
|
-
loadMore: string;
|
|
5232
|
-
confirm: string;
|
|
5233
|
-
};
|
|
5234
5376
|
texts: {
|
|
5235
5377
|
title: string;
|
|
5236
5378
|
noItemsFound: string;
|
|
@@ -5245,6 +5387,16 @@ export declare const messagesCs: {
|
|
|
5245
5387
|
generatedBySystem: string;
|
|
5246
5388
|
};
|
|
5247
5389
|
};
|
|
5390
|
+
subjectSelect: {
|
|
5391
|
+
filter: {
|
|
5392
|
+
toggle: string;
|
|
5393
|
+
};
|
|
5394
|
+
texts: {
|
|
5395
|
+
title: string;
|
|
5396
|
+
pickExactCount: string;
|
|
5397
|
+
pickRangeCount: string;
|
|
5398
|
+
};
|
|
5399
|
+
};
|
|
5248
5400
|
time: {
|
|
5249
5401
|
long: {
|
|
5250
5402
|
remainingSeconds: string;
|
|
@@ -5427,6 +5579,7 @@ export declare const messagesEn: {
|
|
|
5427
5579
|
refresh: string;
|
|
5428
5580
|
forwards: string;
|
|
5429
5581
|
backwards: string;
|
|
5582
|
+
loadMore: string;
|
|
5430
5583
|
};
|
|
5431
5584
|
model: {
|
|
5432
5585
|
system: string;
|
|
@@ -5670,10 +5823,6 @@ export declare const messagesEn: {
|
|
|
5670
5823
|
filter: {
|
|
5671
5824
|
toggle: string;
|
|
5672
5825
|
};
|
|
5673
|
-
controls: {
|
|
5674
|
-
loadMore: string;
|
|
5675
|
-
confirm: string;
|
|
5676
|
-
};
|
|
5677
5826
|
texts: {
|
|
5678
5827
|
title: string;
|
|
5679
5828
|
noItemsFound: string;
|
|
@@ -5688,6 +5837,16 @@ export declare const messagesEn: {
|
|
|
5688
5837
|
generatedBySystem: string;
|
|
5689
5838
|
};
|
|
5690
5839
|
};
|
|
5840
|
+
subjectSelect: {
|
|
5841
|
+
filter: {
|
|
5842
|
+
toggle: string;
|
|
5843
|
+
};
|
|
5844
|
+
texts: {
|
|
5845
|
+
title: string;
|
|
5846
|
+
pickExactCount: string;
|
|
5847
|
+
pickRangeCount: string;
|
|
5848
|
+
};
|
|
5849
|
+
};
|
|
5691
5850
|
time: {
|
|
5692
5851
|
long: {
|
|
5693
5852
|
remainingSeconds: string;
|
|
@@ -5870,6 +6029,7 @@ export declare const messagesSk: {
|
|
|
5870
6029
|
refresh: string;
|
|
5871
6030
|
forwards: string;
|
|
5872
6031
|
backwards: string;
|
|
6032
|
+
loadMore: string;
|
|
5873
6033
|
};
|
|
5874
6034
|
model: {
|
|
5875
6035
|
system: string;
|
|
@@ -6113,10 +6273,6 @@ export declare const messagesSk: {
|
|
|
6113
6273
|
filter: {
|
|
6114
6274
|
toggle: string;
|
|
6115
6275
|
};
|
|
6116
|
-
controls: {
|
|
6117
|
-
loadMore: string;
|
|
6118
|
-
confirm: string;
|
|
6119
|
-
};
|
|
6120
6276
|
texts: {
|
|
6121
6277
|
title: string;
|
|
6122
6278
|
noItemsFound: string;
|
|
@@ -6131,6 +6287,16 @@ export declare const messagesSk: {
|
|
|
6131
6287
|
generatedBySystem: string;
|
|
6132
6288
|
};
|
|
6133
6289
|
};
|
|
6290
|
+
subjectSelect: {
|
|
6291
|
+
filter: {
|
|
6292
|
+
toggle: string;
|
|
6293
|
+
};
|
|
6294
|
+
texts: {
|
|
6295
|
+
title: string;
|
|
6296
|
+
pickExactCount: string;
|
|
6297
|
+
pickRangeCount: string;
|
|
6298
|
+
};
|
|
6299
|
+
};
|
|
6134
6300
|
time: {
|
|
6135
6301
|
long: {
|
|
6136
6302
|
remainingSeconds: string;
|
|
@@ -6788,6 +6954,30 @@ export declare function useRemainingTime(): {
|
|
|
6788
6954
|
remainingTimeLong: (seconds: number) => string;
|
|
6789
6955
|
};
|
|
6790
6956
|
|
|
6957
|
+
export declare function useSubjectSelect<TItem>(datatableConfig: any, datatableHiddenColumns: any, system: string, subject: string, fetch: (pag: Pagination, fb: FilterBag) => Promise<Array<TItem>>, filter: FilterBag, maxCount: Ref<number>): {
|
|
6958
|
+
items: Ref<TItem[]>;
|
|
6959
|
+
selected: Ref<TItem[]>;
|
|
6960
|
+
pagination: Pagination;
|
|
6961
|
+
columnsVisible: ComputedRef<any>;
|
|
6962
|
+
columnsHidden: Ref<string[]>;
|
|
6963
|
+
columnsAll: {
|
|
6964
|
+
key: string;
|
|
6965
|
+
title?: string | undefined;
|
|
6966
|
+
sortable: boolean;
|
|
6967
|
+
fixed: boolean;
|
|
6968
|
+
}[];
|
|
6969
|
+
filterTouched: Ref<boolean>;
|
|
6970
|
+
loading: Ref<boolean>;
|
|
6971
|
+
onRowClick: (event: Event) => void;
|
|
6972
|
+
onFetchNextPage: () => Promise<void>;
|
|
6973
|
+
customToggleSelect: (toggle: (item: VDatatableSelectableItem) => void, isSelected: (item: VDatatableSelectableItem) => boolean, internalItem: VDatatableSelectableItem) => boolean;
|
|
6974
|
+
onOpen: () => void;
|
|
6975
|
+
sortByChange: (option: DatatableOrderingOption) => void;
|
|
6976
|
+
getList: () => Promise<void>;
|
|
6977
|
+
resetFilter: () => void;
|
|
6978
|
+
submitFilter: () => void;
|
|
6979
|
+
};
|
|
6980
|
+
|
|
6791
6981
|
export declare function useTheme(): {
|
|
6792
6982
|
settings: Readonly<Ref<ThemeSettings>>;
|
|
6793
6983
|
theme: Readonly<Ref<Theme>>;
|
|
@@ -6849,6 +7039,11 @@ export declare interface ValueObjectOption<T> {
|
|
|
6849
7039
|
active?: false;
|
|
6850
7040
|
}
|
|
6851
7041
|
|
|
7042
|
+
declare interface VDatatableSelectableItem {
|
|
7043
|
+
value: any;
|
|
7044
|
+
selectable: boolean;
|
|
7045
|
+
}
|
|
7046
|
+
|
|
6852
7047
|
declare interface VideoFile extends AnzuUserAndTimeTrackingAware {
|
|
6853
7048
|
id: DocId;
|
|
6854
7049
|
asset: DocId;
|